package org.jeecg.modules.zhima.center.entity;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: pms_sku_stock
 * @Author: jeecg-boot
 * @Date:   2020-08-27
 * @Version: V1.0
 */
@Data
@TableName("pms_sku_stock")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="pms_sku_stock对象", description="pms_sku_stock")
public class PmsSkuStock implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;
	/**productId*/
	@Excel(name = "productId", width = 15)
    @ApiModelProperty(value = "productId")
    private Integer productId;
	/**sku编码*/
	@Excel(name = "sku编码", width = 15)
    @ApiModelProperty(value = "sku编码")
    private String skuCode;
	/**price*/
	@Excel(name = "price", width = 15)
    @ApiModelProperty(value = "price")
    private BigDecimal price;
	/**库存*/
	@Excel(name = "库存", width = 15)
    @ApiModelProperty(value = "库存")
    private Integer stock;
	/**预警库存*/
	@Excel(name = "预警库存", width = 15)
    @ApiModelProperty(value = "预警库存")
    private Integer lowStock;
	/**展示图片*/
	@Excel(name = "展示图片", width = 15)
    @ApiModelProperty(value = "展示图片")
    private String pic;
	/**销量*/
	@Excel(name = "销量", width = 15)
    @ApiModelProperty(value = "销量")
    private Integer sale;
	/**单品促销价格*/
	@Excel(name = "单品促销价格", width = 15)
    @ApiModelProperty(value = "单品促销价格")
    private BigDecimal promotionPrice;
	/**锁定库存*/
	@Excel(name = "锁定库存", width = 15)
    @ApiModelProperty(value = "锁定库存")
    private Integer lockStock;
	/**商品销售属性，json格式*/
	@Excel(name = "商品销售属性，json格式", width = 15)
    @ApiModelProperty(value = "商品销售属性，json格式")
    private String spData;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**修改人*/
    @ApiModelProperty(value = "修改人")
    private String updateBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
}
